home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / multisb.zip / HOWTODO.IT < prev    next >
Text File  |  1992-02-16  |  17KB  |  315 lines

  1.     ═══════════════════════════════════════════════════════════════════════
  2.                          Running a multi-node SuperBBS
  3.     ═══════════════════════════════════════════════════════════════════════
  4.  
  5.         I  will attempt  to give  you  some  simple steps  in setting  up a
  6.     multi-line SuperBBS system using Frontdoor to interface with Fidonet on
  7.     both nodes. Included  with this document you should  recieve some batch
  8.     files  that  will  run  both  nodes,  along  with  a  autoexec.bat  and
  9.     config.sys that I use. I currently use DESQview 2.42 with QEMM386 6.02.
  10.     I you are not using these products the config files may not be of use.
  11.  
  12.     Programs that I use...
  13.  
  14.         Dseqview 2.42 with QEMM 6.02
  15.         SuperBBS 1.15
  16.         X00 v1.24 fossil driver ( BNU works well also )
  17.         Frontdoor 2.02 ( Used on both nodes )
  18.         Imail 1.21 ( for echomail processing )
  19.         Tick 2.07 ( file distribution )
  20.         Mbutil 1.10 ( message base maintanace )
  21.  
  22.         You  must first  create directories  for each  node to  contain the
  23.     configuration  files.  Each  node  will  also  need  temporary and work
  24.     directorys. I also  use a RAM drive for the  common path which also has
  25.     directories on it ( will explain later ).
  26.  
  27.     My directory structure goes like this..
  28.  
  29.                                 -- Frontdoor --
  30.  
  31.     C:\FD                 <=- Main Frontdoor directory, just exe's
  32.     C:\FD\FD1             <=- Node 1 Frontdoor
  33.     C:\FD\FD2             <=- Node 2 Frontdoor
  34.     C:\FD\INBOUND         <=- Common inbound directory
  35.     C:\FD\NETMAIL         <=- Common Netmail directory
  36.     C:\FD\NODELIST        <=- Nodelist directory
  37.     C:\FD\OUTBOUND        <=- Outbound mail path
  38.  
  39.                                 -- SuperBBS --
  40.  
  41.     C:\SBBS               <=- Main directory, place all program files here
  42.     C:\SBBS\ATTACH        <=- File attaches for users
  43.     C:\SBBS\N1            <=- Node 1 directory, just config files here
  44.     C:\SBBS\N1\TMP        <=- Temp directory for node 1
  45.     C:\SBBS\N1\WORK       <=- Work directory for node 1 (QWK)
  46.     C:\SBBS\N1\XRS        <=- Needed if you run XRS on your system.
  47.     C:\SBBS\N2            <=- Node 2 directory, just config files here
  48.     C:\SBBS\N2\TMP        <=- Temp directory for node 2
  49.     C:\SBBS\N2\WORK       <=- Work directory for node 2 (QWK)
  50.     C:\SBBS\N2\XRS        <=- Needed if you run XRS on your system.
  51.  
  52.                                -- Other stuff --
  53.  
  54.     C:\BAT                <=- All batch files here
  55.     C:\EXT                <=- Miscellaneous utils
  56.     C:\UTIL               <=- Imail, Mbutil, Tick, and ??
  57.     C:\UTIL\<door_dir>    <=- All door directories spawn off of UTIL
  58.  
  59.                              -- SuperBBS Setup --
  60.  
  61.         First  place all  exe's and   overlay files  in the  main (C:\SBBS)
  62.     directory.  Then create  all the  node directories,  just name each one
  63.     similar to the other except for node  number. You could use NODE1 or N1
  64.     or whatever  but make sure the  node number is in  the name ( explained
  65.     further in  doc ). After you  make all your directories  change to your
  66.     main directory  (CD \SBBS) and  run CONFIG. In  the main directory  you
  67.     will edit everything, make a LIMITS.BBS, FLSEARCH.BBS and a DOORCFG.BBS
  68.     using the CONFIG program. What I  mean is setup everything now, message
  69.     areas, file areas,  and any doors you want to  run. Find the Multi-node
  70.     configuration and  put in the number  of lines you have  and the common
  71.     path to use ( small RAM drive  works best ) Under the paths setup heres
  72.     what I have.
  73.  
  74.     Text Path    : C:\SBBS\TEXT\
  75.     Menu Path    : C:\SBBS\MENU\
  76.     Net  Path    : C:\FD\NETMAIL\
  77.     MsgBase Path : C:\SBBS\
  78.     Temp Path    : C:\SBBS\N1\TMP\
  79.     System Path  : C:\SBBS\N1\
  80.     Work path    : C:\SBBS\N1\WORK\
  81.     Ext. editor  : C:\EXT\TOPED.EXE *N
  82.     Virus scanner:
  83.     Nodelist path: C:\FD\NODELIST\
  84.     LA path      : C:\SBBS\ATTACH\
  85.  
  86.         Once  you  have  everything  you  want  setup,  copy CONFIG.BBS and
  87.     SCONFIG.BBS and SPROTO.BBS to each nodes directory. Then change to each
  88.     nodes  directory and  run config  again, DO  NOT edit  the file  areas.
  89.     limits or  door information in  the node directories.  This information
  90.     will  come from  the main  SuperBBS directory.  All you  should have to
  91.     change is what comm port to use  and the paths to the files. Change all
  92.     the N1's to N<node> ( whichever node number directory your in ) If SBBS
  93.     answering  the phone  you will  need to  edit the  init string for each
  94.     node. Other than  that all the info should  be the same. i use  a batch
  95.     file to run  config and in it I  make sure that there are  no left over
  96.     files  from  running  config  by  deleting  DOORCFG.BBS, LIMITS.BBS and
  97.     FLSEARCH.BBS in  EACH nodes directory, DO  NOT delete the files  in the
  98.     main directory. Confused yet? Just take  your time and it will all fall
  99.     together ( or apart ).
  100.  
  101.         If you create  some questionaires put these in  the main directory.
  102.     Also put all  language files in the main directory  and don't forget to
  103.     run LCONFIG  and set the  paths to  menus  and text files  there too. I
  104.     suggest putting the  message base in your main directory,  a lot of the
  105.     RA utilities expect to find LASTREAD.BBS and USERS.BBS with the message
  106.     base files. This will keep them all together.
  107.  
  108.                              -- Frontdoor Setup --
  109.  
  110.         Basically its pretty  much the same as Sbbs, put  all exe's in main
  111.     directory, use the SET FD= statement to point to the node directory and
  112.     run FDSETUP. You  will have to issue another SET  FD= statement to edit
  113.     the other  nodes. Frontdoor uses  the FD variable  to find it's  config
  114.     files NOT  the Exe's. As long  as Frontdoor exe's are  in the path then
  115.     all  will work  fine. I  will not  go to  much further  into Frontdoors
  116.     setup, you should allready have knowledge  off this and besides I think
  117.     FD is pretty easy to setup. Other than directory changes the FDSETUP is
  118.     the SAME, different  modems require different settings and  you can use
  119.     your ROUTE.FD to tell FD which node is to do what.
  120.  
  121.                                -- Config.Sys --
  122.  
  123.         Nothing  to special,  I have  found that  with DOS  5.0 it's  a lot
  124.     easier to NOT  load DOS high, I can  still get 592k DOS memory  with DV
  125.     window sizes being  576k. Plenty for most programs.  Load you RAM drive
  126.     here and  a Fossil driver (X00  or BNU). SHARE.EXE MUST  be loaded when
  127.     you  are running  multi-line, otherwise  forget having  a user  file or
  128.     message base  when both nodes are  up. I would suggest  a minimum of 50
  129.     files. Your setup will differ but this should give you a start.
  130.  
  131.                               -- Autoexec.Bat --
  132.  
  133.         If  you  haven't  done  so  allready  you  need  to  look  over  my
  134.     autoexec.bat.  You will  notice that  I have  a TON  of SET statements.
  135.     There is a reason? Most programs  can use the environement variables to
  136.     find their CFG files without you  doing a lot of changeing directories.
  137.     This makes things nice if you move file around or whatever. Also I name
  138.     directories to short names so that I can have most of them in the PATH=
  139.     statement. Also nice  for running files. Mainly at  least you will have
  140.     to have Frontdoor  and SBBS directories in the  PATH= statement. Create
  141.     some directories on your RAM drive,  if you remember the ROOT directory
  142.     of a  drive is limited to  how many files it  can hold, sub-directories
  143.     are not limited. A brief on what SET ??? 's are..
  144.  
  145.     set FOS=XU CAPTURE              <=- command to recapture INT 14h in DV
  146.     REM set FOS=BNU /C              <=- Ditto, if I change fossil un-REM
  147.     set TZ=CST0CDT                  <=- TimeZone, for BC++
  148.     set DSZLOG=C:\EXT\DSZ.LOG       <=- Set DSZ log, changes in N?.BAT's
  149.     set FD=C:\FD\FD1                <=- Frontdoor node 1 CFG's
  150.     set TIC=C:\UTIL\TIC.CFG         <=- Tick CFG
  151.     set FDOPT=NOEMS,INTL            <=- Options for FD, USE THESE
  152.     set IMAIL=C:\UTIL               <=- Imail CFG's
  153.     set MBU=C:\UTIL\MBUTIL.CTL      <=- Mbutil CFG's
  154.     set SBBS=C:\SBBS                <=- Got to have this one
  155.     set GSZWINDOW=23                <=- GSZ window size
  156.     set LIB=C:\EXT                  <=- DoorPch door library path
  157.     set DOORPCH=PCB                 <=- PcBored door's
  158.     set COM1=38400                  <=- COM1 locked at 38400
  159.     set COM2=9600                   <=- COM2 locked at 9600
  160.     set TOPED=C:\EXT                <=- Toped CFG's
  161.     set CHATMAN=C:\EXT              <=- Chat manager CFG's
  162.     set COMMO=C:\COMMO              <=- COMMO
  163.     set LIST=I:\                    <=- Work path for LIST
  164.     set SHEZEX=E:\WRK               <=- SHEZ extract path
  165.     set SHEZWORK=I:\XXX             <=- Shez Work path
  166.     set XYZ=This_is_a_temporary_string_to_increase_the_environment_space
  167.     set XYZ=
  168.  
  169.         The reason to  set these before starting DV is  to let QEMM enlarge
  170.     the environment space.  Otherwise you will end up  with a error message
  171.     from DOS "Not enough environment space"
  172.         The rest of the batch is to bring up DV, although I use Norton's BE
  173.     to wait for 2 seconds before doing so. This gives me some time to abort
  174.     and drop to DOS.
  175.  
  176.                             -- N1.Bat and N2.Bat --
  177.  
  178.         All throughout the batch files you will see a lot of "if exist" and
  179.     "rem > file", I use regular DOS to create and check for semaphore files
  180.     and make  decisions on what to  do. Read thu the  batch files, they are
  181.     heavily commented so  you can read them better.  Pay close attention to
  182.     how they work together. The programs that are called in the batches are
  183.     available  from me  or you  could probably  find them  somewhere local.
  184.     Another note is that NODE 1 does all mail processing and events. It can
  185.     be handled many  ways but this is how  I do it, the next  change I make
  186.     will be to  have Imail come up in  a window by itself, freeing  up time
  187.     used to process  mail. Imail can do it's thing  while someone is online
  188.     so no problem there ( REMEMBER to load SHARE.EXE ).
  189.  
  190.                              -- Desqview Setup --
  191.  
  192.         A clip of how I have the nodes setup..
  193.  
  194.                                    Change a Program
  195.  
  196.      Program Name............: SuperBBS Node 1
  197.  
  198.      Keys to Use on Open Menu: N1 Memory Size (in K): 500
  199.     ──────────────────────────────────────────────────────────────────────
  200.      Program...: n1
  201.  
  202.      Parameters:
  203.  
  204.      Directory.: \
  205.     ──────────────────────────────────────────────────────────────────────
  206.      Options:
  207.                       Writes text directly to screen.......: [N]
  208.                       Displays graphics information........: [N]
  209.                       Virtualize text/graphics (Y,N,T).....: [T]
  210.                       Uses serial ports (Y,N,1,2)..........: [1]
  211.                       Requires floppy diskette.............: [N]
  212.  
  213.                          Change a Program Advanced Options
  214.  
  215.     System Memory  (in K)...: 0  Maximum Program Memory  Size (in K).: 750
  216.  
  217.     Script Buffer Size..:   256  Maximum Expanded Memory Size (in K):
  218.  
  219.     Text Pages: 2 Graphics Pages: 0 Initial Mode: Interrupts: 00 to FF
  220.     ──────────────────────────────────────────────────────────────────────
  221.     Window Position:
  222.        Maximum Height: 25 Starting Height: 25 Starting Row...:   0
  223.        Maximum Width.: 80 Starting Width.: 80 Starting Column:   0
  224.     ──────────────────────────────────────────────────────────────────────
  225.                                    Shared Program
  226.     Pathname..:
  227.     Data......:
  228.     ──────────────────────────────────────────────────────────────────────
  229.     Close on exit (Y,N,blank).....:[ ] Uses its own colors.............:[Y]
  230.     Allow Close Window command....:[N] Runs in background (Y,N,blank)..:[Y]
  231.     Uses math coprocessor.........:[N] Keyboard conflict (0-F).........:[0]
  232.     Share CPU when foreground.....:[Y] Share EGA when foreground/zoomed:[Y]
  233.     Can be swapped out (Y,N,blank):[N] Protection level (0-3)..........:[0]
  234.  
  235.         Both setups are  the same for each node, You  should have a minimum
  236.     of 4 megs of RAM with 2 megs free.  Thats if you want to run like I do,
  237.     if you don't  have that much you can put  0 for Maximum expanded memory
  238.     and save a little.
  239.  
  240.         Create a script  with DV's learn feature to start  up the nodes, to
  241.     do this close all windows in Desqview, sitting at the DV menu hold down
  242.     a shift  key and  press the  ALT, this  will bring  up LEARN. Select to
  243.     start a script. It will ask you for a key to use, hold down the ALT and
  244.     press 255 on the numeric pad, let up on the ALT, DV should respond with
  245.     {Key 255}. Now name the script, begin the  name with a ! and it will be
  246.     a auto start script, like !startup or  whatever. Now open all the nodes
  247.     you  plan to  run, when  your  done  press SHIFT-ALT  again and  finish
  248.     script, and save it. To test close  all windows and exit DV, then start
  249.     DV  back  up,  you  should  see  all  your  programs starting up. I use
  250.     DvCommand to remove the desqview borders and as such can display a full
  251.     50 lines on the screen ( 2 nodes ).. Check the Batches..
  252.  
  253.                                  -- DOORS --
  254.  
  255.         Door programs  can be a major hassle, the batch file included  runs
  256.     all of my doors,  the %1-%8 parameters are explained a little and  each
  257.     door is called the same way except for the %1 name tag. For those doors
  258.     that are not multi-line aware you will have to use the  semaphore files
  259.     to keep users from playing the same door at the same time.  The Program
  260.     dor.exe is something I wrote to manipulate the  dorinfo1.def  file.  In
  261.     anycase, you can Freq DOORMENU to get my doors menu and text files  and
  262.     also DOR.EXE and have about  25+  doors ready to run.  No door programs
  263.     are included so the file but there are many text files, one menu.  This
  264.     menu uses all of the abilities for door templates in Sbbs, look it over
  265.     carefully. Size is approx 70k..
  266.  
  267.                               -- Little Tricks --
  268.  
  269.         Use X00  Fossil if it will  work on your system,  use the DV switch
  270.     with it and you will see some dramatic speed increases in other process
  271.     will people  are downloading files. Until  I got 2 external  modems X00
  272.     would not  work on my  computer so it  might not work  on yours. I have
  273.     found no benefit from using large  recieve or transmit buffers with the
  274.     fossil, Sbbs does not buffer the port,  It will only send when modem is
  275.     ready  so the  buffers go  unused most   of the  time and  just use  up
  276.     precious memory.
  277.  
  278.         Load the fossil before DV, that way all processes can use it.
  279.  
  280.         Try to  use your RAM drive  for most temp work,  like file list for
  281.     external protocols and  chat utils and whatever, Nifty  James Ram drive
  282.     it by far the fastest and smallest memory hog.
  283.  
  284.         Most doors  are very sensitive  to BAUD rates,  some want the  true
  285.     connect rate  and others want the  locked rate. See DOORS.BAT  for some
  286.     info on this.
  287.  
  288.         Set Sbbs  to NOT do direct  screen writes, if you  are using DNANSI
  289.     you will not see any difference in speed.
  290.  
  291.         Test  your  knowledge  of  DOS  by  using  the  semaphore  files to
  292.     determine  what processes  are doing  what, can  save you big headaches
  293.     when to things are working on the same files and are not aware of it.
  294.  
  295.         If you have the memory use a  Disk Cache, I use Hyperdisk 4.31 with
  296.     staged writes.  It seems to be  the only one that  truely know Desqview
  297.     and does not crash when using staged writes. Norton's NCACHE works well
  298.     without the staged writes.
  299.  
  300.         Be wary of some doors that  claim to be multi-line compatible. They
  301.     may be when used together but may not follow Sbbs's locking scheme.
  302.  
  303.         Frontdoor uses semaphore files to control itself, I use FDEXIT.?? a
  304.     lot to control.
  305.  
  306.                                 -- Thats it! --
  307.  
  308.         I write programs,  not documents.. But hey I'm  trying. If you have
  309.     questions on  this setup you can  reach me in the  SuperBBS echo or you
  310.     can send  Net mail to 1:3812/10,  oh BTW my name  is Bob Henderson. And
  311.     last but not least, HAVE FUN!
  312.  
  313.     ═══════════════════════════════════════════════════════════════════════
  314.                                  -- The End --
  315.